<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_sn')}:</label>
        <div class="col-xs-12 col-sm-8 form-control-static">
            {$row.order_sn|htmlentities}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_amount')}:</label>
        <div class="col-xs-12 col-sm-8 form-control-static">
            {$row.order_amount|htmlentities}
        </div>
    </div>
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_status')}:</label>
        <div class="col-xs-12 col-sm-8 form-control-static">
            {$row.pay_status_text|htmlentities}
        </div>
    </div> -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ship_status')}:</label>
        <div class="col-xs-12 col-sm-8 form-control-static">
            {$row.ship_status_text|htmlentities}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8 form-control-static">
            {$row.status_text|htmlentities}
        </div>
    </div>
    <!--<div class="form-group">-->
    <!--<label class="control-label col-xs-12 col-sm-2">{:__('Cost_freight')}:</label>-->
    <!--<div class="col-xs-12 col-sm-8">-->
    <!--<input id="c-cost_freight" min="0" class="form-control" step="0.01" name="row[cost_freight]" type="number" value="{$row.cost_freight|htmlentities}">-->
    <!--</div>-->
    <!--</div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8 form-control-static">
            <input id="c-user_id" min="0" data-rule="required" data-select-only disabled data-source="user/user/index"
                data-field="username" class="form-control selectpage" name="row[user_id]" type="text"
                value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ship_address')}:</label>
        <div class="col-xs-12 col-sm-8 form-control-static">
            {:str_replace('|', ' ', $row.ship_area)} {$row.ship_address|htmlentities}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ship_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            {$row.ship_name|htmlentities}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ship_mobile')}:</label>
        <div class="col-xs-12 col-sm-8 form-control-static">
            {$row.ship_mobile|htmlentities}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">微信{:__('Ship_c_code')}:</label>
        <div class="col-xs-12 col-sm-8 form-control-static">
            {$row.ship_c_code|htmlentities}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">微信{:__('Ship_c_name')}:</label>
        <div class="col-xs-12 col-sm-8 form-control-static">
            {$row.ship_c_name|htmlentities}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ship_c_sn')}:</label>
        <div class="col-xs-12 col-sm-8 form-control-static">
            {$row.ship_c_sn|htmlentities}
        </div>
    </div>


    <h2>订单商品</h2>

    <table>
        <tr>
            <td style="width: 16%;">商品名称</td>
            <td style="width: 16%;">规格</td>
            <td style="width: 200px;">商品图片</td>
            <td style="width: 16%;">商品价格</td>
            <td style="width: 16%;">商品数量</td>
            <!--		<td style="width: 16%;">商品单位</td>-->
        </tr>

        {volist name="row.goods" id="vo"}
        <tr>
            <td style="width: 16%;">{$vo.name}</td>
            <td style="width: 16%;">{$vo.spes}</td>
            <td style="width: 200px;"><img src='{$vo.image}' style='width: 100px;height: 100px;' /></td>
            <td style="width: 16%;">{$vo.price}</td>
            <td style="width: 16%;">{$vo.nums}</td>
            <!--		<td style="width: 16%;"></td>-->
        </tr>
        {/volist}

    </table>

    <!-- <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div> -->
</form>